import { UserShowInfo } from '../course/getUserCoursePage';

export interface GetLessonsRes {
  code: number;
  data: Data;
  msg: string;
  traceId: string;
}

export interface LessonInfo {
  id: number;
  name: string;
  status: number;
  lessonResourceId: number;
  lessonStartTime: string;
  assistant: UserShowInfo;
}

export interface Data {
  nextId: number; // 下次课ID
  status: number; // 显示课状态:1-等待上课,2-正在上课,3-无下节课
  nextTime: string; // 下次课开始时间
  leftSeconds: number; // 剩余秒数
  lessons: LessonInfo[];
  courseName: string;
  grade: string;
  subject: string;
}
